package com.itlhc.service;

import com.itlhc.pojo.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;

public interface UserService {
    //登录
    User loinUser(String username, String password);

    void addCookie(String loginAccount, String loginPassword, HttpServletResponse response, HttpServletRequest request);
}
